<{include file="admincp_header.htm"}>
<script language="javascript">
function invertselection() {
	for(i = 0; i < document.batchform.elements.length; i++) {
		if(document.batchform.elements[i].type == 'checkbox' && document.batchform.elements[i].name == 'cid[]') {
			if(document.batchform.elements[i].checked == true) {
				document.batchform.elements[i].checked = false;
			} else {
				document.batchform.elements[i].checked = true;
			}
		}
	}
}
</script>
<body>
<table border="0" cellspacing="1" cellpadding="4" class="commontable" align="center">
	<tr class="header">
		<td colspan="3"><{$lan.createcategorybatch}></td>
	</tr>
	<form action="index.php?file=admincp&action=createcategory" method="post" name="batchform" id="batchform">
	<{$categorieslist}>
	<tr>
		<td colspan="3">
			<input type="button" name="abc" value="<{$lan.invertselection}>" onclick="invertselection()">
			<input type="submit" name="submit" value="<{$lan.batch}>">
		</td>
	</tr>
	</form>
</table>
</body>
</html>